<?php
if (!defined('SMF'))
	die('Hacking attempt...');

global $scripturl, $user_info;
global $allow_fullscan, $allow_navcomp;
	
// Verify user login, if CheckLogin() returns false return to the calling script/function
if (CheckLogin() == false)
	return;

bigtitle('Help');

//-------------------------------------------------------------------------------------------------

echo '
				Greetings and welcome to BlackNova Traders!
				<br><br>
				This is a game of inter-galactic exploration. Players explore the universe, trading for commodities and 
				increasing their wealth and power. Battles can be fought over space sectors and planets.
				<br><br>
				<a href="#mainmenu">Main Menu commands</a><br>
				<a href="#techlevels">Tech levels</a><br>
				<a href="#devices">Devices</a><br>
				<a href="#zones">Zones</a><br>
				<a name="mainmenu"></a><h2>Main Menu commands:</h2>
				<b>Ship report:</b><br>
				Display a detailed report on your ship\'s systems, cargo and weaponry. You can display this report by 
				clicking on your ship\'s name at the top of the main page.
				<br><br>
				<b>Warp links:</b><br>
				Move from one sector to another through warp links, by clicking on the sector numbers.
				<br><br>
				<b>Long-range scan:</b><br>
				Scan a neighboring sector with your long range scanners without actually moving there.';
if ($allow_fullscan)
{
	echo '
				A full scan will give you an outlook on all the neighboring sectors in one wide sweep of your 
				sensors.';
}

echo '
				<br><br>
				<b>Ships:</b><br>
				Scan or attack a ship (if it shows up on your sensors) by clicking on the appropriate link on the right 
				of the ship\'s name. The attacked ship may evade your offensive maneuver depending on its tech levels.
				<br><br>
				<b>Trading ports:</b><br>
				Access the port trading menu by clicking on a port\'s type when you enter a sector where one is present.
				<br><br>
				<b>Planets:</b><br>
				Access the planet menu by clicking on a planet\'s name when you enter a sector where one is present.
				<br><br>';

if ($allow_navcomp)
{
	echo '
				<b>Navigation computer:</b><br>
				Use your computer to find a route to a specific sector. The navigation computer\'s power depends on 
				your computer tech level.
				<br><br>';
}

echo '
				<b>RealSpace:</b><br>
				Use your ship\'s engines to get to a specific sector. Upgrade your engines\' tech level to use RealSpace 
				moves effectively. You can instantly move to a new sector by entering the sector number in the RealSpace
				move area and clicking Engage. 
				<br><br>
				<b>Trade routes:</b><br>
				Use trade routes to quickly trade commodities between ports. Trade routes take advantage of RealSpace 
				movements to go back and forth between two ports and trade the maximum amount of commodities at each 
				end. Ensure the remote sector contains a trading port before using a trade route. The trade route 
				presets are shared with the RealSpace ones. As with RealSpace moves, any sector can be targeted using 
				the \'Other\' link
				<br><br>
				<H3>Menu bar (bottom part of the main page):</H3>
				<b>Devices:</b><br>
				Use the different devices that your ship carries (Genesis Torpedoes, beacons, Warp Editors, etc.). For 
				more details on each individual device, scroll down to the \'Devices\' section.
				<br><br>
				<b>Planets:</b><br>
				Display a list of all your planets, with current totals on commodities, weaponry and credits.
				<br><br>
				<b>Log:</b><br>
				Display the log of events that have happened to your ship.
				<br><br>
				<b>Send Message:</b><br>
				Send an e-mail to another player.
				<br><br>
				<b>Rankings:</b><br>
				Display the list of the top players, ranked by their current scores.
				<br><br>
				<b>Last Users:</b><br>
				Display the list of users who recently logged on to the game.
				<br><br>
				<b>Options:</b><br>
				Change user-specific options (currently, only the password can be changed).
				<br><br>
				<b>Feedback:</b><br>
				Send an e-mail to the game admin.
				<br><br>
				<b>Self-Destruct:</b><br>
				Destroy your ship and remove yourself from the game.
				<br><br>
				<b>Help:</b><br>
				Display the help page (what you\'re reading right now).
				<br><br>
				<b>Logout:</b><br>
				Remove any game cookies from your system, ending your current session.
				<br><br>
				<a name="techlevels"></a><h2>Tech levels:</h2>
				You can upgrade your ship components at any special port. Each component upgrade improves your ship\'s 
				attributes and capabilities.
				<br><br>
				<b>Hull:</b><br>
				Determines the number of holds available on your ship (for transporting commodities and 
				colonists).
				<br><br>
				<b>Engines:</b><br>
				Determines the size of your engines. Larger engines can move through RealSpace at a faster pace.
				<br><br>
				<b>Power:</b><br>
				Determines the number of energy your ship can carry.
				<br><br>
				<b>Computer:</b><br>
				Determines the number of fighters your ship can control.
				<br><br>
				<b>Sensors:</b><br>
				Determines the precision of your sensors when scanning a ship or planet. Scan success is dependent upon 
				the target\'s cloak level.
				<br><br>
				<b>Armour:</b><br>
				Determines the number of armor points your ship can use.
				<br><br>
				<b>Shields:</b><br>
				Determines the efficiency of your ship\'s shield system during combat.
				<br><br>
				<b>Beams:</b><br>
				Determines the efficiency of your ship\'s beam weapons during combat.
				<br><br>
				<b>Torpedo launchers:</b><br>
				Determines the number of torpedoes your ship can use.
				<br><br>
				<b>Cloak:</b><br>
				Determines the efficiency of your ship\'s cloaking system. See \'Sensors\' for more details.
				<br><br>
				<a name="devices"></a><h2>Devices:</h2>
				<b>Space Beacons:</b><br>
				Post a warning or message which will be displayed to anyone entering this sector. Only 1 beacon can be 
				active in each sector, so a new beacon removes the existing one (if any).
				<br><br>
				<b>Warp Editors:</b><br>
				Create or destroy warp links to another sector.
				<br><br>
				<b>Genesis Torpedoes:</b><br>
				Create a planet in the current sector (if one does not yet exist).
				<br><br>
				<b>Mine Deflector:</b><br>
				Protect the player against mines dropped in space. Each deflector takes out 1 mine.
				<br><br>
				<b>Emergency Warp Device:</b><br>
				Transport your ship to a random sector, if manually engaged. Otherwise, an Emergency Warp Device can 
				protect your ship when attacked by transporting you out of the reach of the attacker.
				<br><br>
				<b>Escape Pod (maximum of 1):</b><br>
				Keep yourself alive when your ship is destroyed, enabling you to keep your credits and planets.
				<br><br>
				<b>Fuel Scoop (maximum of 1):</b><br>
				Accumulate energy units when using RealSpace movement.
				<br><br>
				<a name="zones"></a><h2>Zones:</h2>
				The galaxy is divided into different areas with different rules being enforced in each zone. To display 
				the restrictions attached to your current sector, just click on the zone name (top right corner of the 
				main page). Your ship can be towed out of a zone to a random sector when your hull size exceeds the 
				maximum allowed level for that specific zone. Attacking other players and using some devices can also 
				be disallowed in some zones.
				<br><br>';

TextMainMenu();

?> 
